<template>
	<view>
		<view>count:{{ store.count }}</view>
		<view>double:{{ store.double }}</view>
		<button @tap="store.increment">累加</button>
		<button @tap="store.decrement">递减</button>
		<button @tap="store.decrementPlus(5)">递减</button>
	</view>
</template>

<script setup>
	import { useCounterStore } from '@/stores/counter'
	const store = useCounterStore()
</script>

<style></style>
